* {
    margin: 0;
    padding: 0;
}
@media screen and (max-width: 767px){
    html {
        font-size: 5px;
    }
    .ctrl-box {
        display: block;
        margin-top: 10rem;
        text-align: center;
    }
    .ctrl-box button {
        width: 20rem;
        height: 10rem;
        border-radius: 50%;
    }
}
@media screen and (min-width:768px) and (max-width: 1100px){
    html {
        font-size: 10px;
    }
    .ctrl-box {
        display: block;
        text-align: center;
    }
    .ctrl-box button {
        border-radius: 50%;
    }
}
@media screen and (min-width: 1101px){
    html {
        font-size: 10px;
    }
    .ctrl-box {
        display: none;
    }
}
.main-box {
    width: 66rem;
    text-align: center;
    margin: 0 auto;
    margin-top: 5rem;
    background-color: #5192BA;
    position: relative;
    border-radius: 1rem;
}
.score-pre {
    height: 4rem;
    line-height: 4rem;
    font-size: 1.6rem;
}
#box {
    width: 60rem;
    height: 60rem;
    background-color: #143954;
    position: relative;
    margin: 0 auto;
}
button {
    width: 15rem;
    height: 4rem;
    margin: 2rem 0;
    font-size: 1.6rem;
    color: wheat;
    background-color: #3E51B5;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    box-shadow: 0 0 5px #3E51B5;
}
button:focus {
    outline: none;
}
.main-box > button + button {
    margin-left: 15rem;
}
#over {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999;
    opacity: 0.9;
    background-color: gray;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#over h1{
    font-size: 5rem;
}
#over .score-over {
    font-size: 1.6rem;
}
#over-tip {
    display: none;
}